import {createApp} from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/dark/css-vars.css'
import * as Icons from '@element-plus/icons-vue'
import App from './App.vue'
import '@/assets/index.scss'
import router from './router'

const app = createApp(App)
app.use(ElementPlus)
for (let i in Icons)
    app.component(i, Icons[i])
app.use(router)
app.config.globalProperties.zzone = window.zzone

router?.isReady().then(() => app.mount('#app'))
